package com.info.zhiduoduo.pay.sdk.zhaoshangbank.model.common.query;

import com.info.zhiduoduo.pay.formbean.zhaoshangbankpay.QueryPayResultFormBean;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Detailed {

	/** 流程实例号 */
	private String reqnbr;

	public static List<Detailed> ofList(QueryPayResultFormBean formBean){
		List<Detailed> list = new ArrayList<>();
		Detailed detailed = new Detailed().setReqnbr(formBean.getPartnerOrderNo());
		list.add(detailed);
		return list;
	}

}
